import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './http/http'

import Video from 'video.js'
import 'video.js/dist/video-js.css'

// 引入MintUI组件
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
// 导入axios
import axios from 'axios'
// 引入vant ui组件库
import Vant from 'vant'
import 'vant/lib/index.css'

import QRCode from 'qrcode'
Vue.use(QRCode)
Vue.use(MintUI)
Vue.use(Vant)
Vue.prototype.$video = Video
// 全局配置  挂载到vue的原型对象上  这样每个vue组件都可以通过this.$http 使用axios
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
